cURL
curl --request POST \ --url http://localhost:3001/workflow/{id}/reset \ --header 'Content-Type: application/json' \ --data ' { "stepName": "<string>", "reason": "<string>" } '
{ "workflowId": "<string>", "runId": "<string>" }
Resets the latest run. Deprecated; use POST /workflow/{id}/runs/{rid}/reset to target a specific run. Scheduled for removal after 2026-07-16.
POST /workflow/{id}/runs/{rid}/reset
The name of the step to reset after
Optional reason for the reset
The workflow was reset successfully
The original workflow ID
The run ID of the new execution created by the reset